package com.jprocms.module.cms.controller.directive;

import com.jpro.module.system.api.notice.NoticeApi;
import com.jprocms.module.cms.service.content.TagService;
import freemarker.core.Environment;
import freemarker.template.TemplateDirectiveBody;
import freemarker.template.TemplateException;
import freemarker.template.TemplateModel;

import java.io.IOException;
import java.util.Map;

public class NoticePageDirective extends NoticeListDirective {
    @Override
    public void execute(Environment env, Map params, TemplateModel[] loopVars, TemplateDirectiveBody body)
            throws TemplateException, IOException {
        doExecute(env, params, loopVars, body, true);
    }

    public NoticePageDirective(NoticeApi service) {
        super(service);
    }
}
